package cn.sanshuilin.kst.common.utils;

import com.alibaba.fastjson.JSONObject;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.List;

/**
 * 打印实体类
 * @author xutao
 * @version V1.0 创建时间：2017/11/20 21:50
 *          Copyright 2017 by 言午工作室
 */
public class LogPrinter {

    private static Logger LOGGER = LoggerFactory.getLogger(LogPrinter.class);

    /**
     * 打印提示信息
     * @param info
     */
    public  static void info(String info){
        LOGGER.info(info);
    }


    /**
     * 打印錯誤信息
     * @param info
     */
    public  static void error(String info){
        LOGGER.error(info);
    }

    public static void info(JSONObject jsonAddress) {
        LOGGER.info(jsonAddress.toJSONString());
    }

    public static void info(List<Object> list) {
    }

}
